*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	background-color: #efefef;
}
.header{
	position: relative;
	z-index: 2;
	height: 155px;
	width: 100%;
	min-width: 1200px;
	background-image: url(../img/logo.bmp);
	background-position: top center;
	background-size: auto 130px;
	background-repeat: no-repeat;
	background-color: #000;
	position: fixed; 
	left: 0;
	top: 0;
	
}

.header #loginout{
	position: absolute;
	right: 20px;
	top:15px;
	text-decoration: none;
	color:#fff;
	font-size:14px;
}

.header .username{
	position: absolute;
	right: 80px;
	top:15px;
	text-decoration: none;
	color:#fff;
	font-size:14px;
}

.navheader{
	height: 110px;
	width: 100%;
}

.nav{
	display: flex;
	width: 100%;
	height: 45px;
	background: rgba(255,255,255,.2);
}
.nav a{
	display: block;
	color:#fff;
	text-decoration: none;
	margin-right: 2px;
}
.navList{
	width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.nav a:hover{
	background-color: rgba(212, 235, 246, 0.253);
}
.nav .active{
	background-color: rgba(190, 197, 200, 0.253);
}
.link{
	width: 100px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	color: #fff;
	
}
canvas{
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  cursor: crosshair;
}

.search{
	width:300px;
	height: 45px;
	display: flex;
}

.search input{
	border: none;
	outline: none;
	height: 45px;
	width: 200px;
	line-height: 45px;
	padding: 0 20px;
	background: rgba(255,255,255,0.3);
	color: #fff;
	font-size: 20px;
}
.contentMain{
	width: 100%;
	background: #efefef;
	position: relative;
	top:5px;
	z-index: 1;
}
.search button{
	width: 100px;
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	border: none;
	outline: none;
}
.search button .icon{
	background-image: url(../img/search.png);
	width: 30px;
	height: 30px;
	background-size: 30px 30px;
	background-repeat: no-repeat;
	background-position: center;
}


.content{
	margin: 145px auto 100px !important;
	display: flex;
	width: 1200px;
}
.bookList{
	width: 1000px;
	display: flex;
	flex-wrap: wrap;
}
.bookItem{
	width: 240px;
	margin:20px 5px 0px;
	height:320px ;
	text-align: center;
	position: relative;
	box-shadow: 0 1px 2px #efefef;
	background-color: #fff;
}
.bookItem img{
	margin: 10px auto 0px;
	width: 70%;
	max-height: 230px;
	height: auto;
}
.bookItem h3{
	width:70% ;
	font-size: 18px;
	font-family: '微软雅黑';
	border-bottom: 1px dashed #ccc;
	margin: 10px auto;
	overflow: hidden;
	text-overflow:ellipsis;
	white-space: nowrap;
}
.bookItem p{
	font-size: 16px;
}

.bookItem .cataory{
	position: absolute;
	width: 80px;
	height: 30px;
	left: 10px;
	top: 10px;
	text-align: center;
	line-height: 30px;
	background-color: rgba(0,0,0,0.7);
	color: #fff;
	
}
.content .erweima{
	margin-left: 5px;
	margin-top: 20px;
	flex: 1;
	
}
.content .erweima img{
	width: 100%;
}
.bookList a{
	text-decoration: none;
	color: #333;

}

.fenpage{
	width: 100%;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pageBtns a{
	padding: 5px 10px ;
	background-color: #ccc;
	margin: 5px;
	color: #666;
	text-decoration: none;
}

.pageBtns a.active{
	background-color: #666;
	color: #fff;
}